import { createPinia } from 'pinia';
import createPersistedState from 'pinia-plugin-persistedstate'; //引入pinia数据持久化插件
const pinia = createPinia();
pinia.use(createPersistedState);

import App from './App.vue';
import router from './router';
import ant from 'ant-design-vue';

// import 'ant-design-vue/dist/antd.dark.less';
import '/@/assets/styles/views/app.less';
import '/@/assets/styles/ant/base.less';

import 'uno.css';
import i18n from './language';

const app = createApp(App);
app.config.globalProperties.window = window;

app.use(router).use(pinia).use(i18n).use(ant).mount('#app');
